<template>
  <div>
    <div>
      <router-link to="/contacts/al_contacts">
        <ul>
          <li>All_contacts</li>
        </ul>
      </router-link>
      <router-link to="/contacts/alice">
        <ul>
          <li>Alice</li>
        </ul>
      </router-link>
      <router-link to="/contacts/bob">
        <ul>
          <li>Bob</li>
        </ul>
      </router-link>

      <button @click="btn">随机显示</button>

      <p>三级嵌套</p>
      <hr />
    </div>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scope>
a {
  margin: 0 10px;
}
</style>